[Zend Framework] How to fetch data from another table within a Zend_Db model class?
Posted
by rasouza
on Stack Overflow
See other posts from Stack Overflow
or by rasouza
Published on 2010-05-16T02:51:00Z
Indexed on
2010/05/16
3:00 UTC
Read the original article
Hit count: 185
I have two tables registries
and names
. Consequently, I have two model classes. I'm coding a method in registries model and I need to fetch all names in the names table/model. How'd I do it?
Should a simple new Names()
work? But, is it recommended?
© Stack Overflow or respective owner